how to eliminate arbitrary constants in differential equation